package com.wanxi.repertory.service.mapper;

import com.wanxi.repertory.service.api.entity.ShopRepertory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShopRepertoryMapper {
    int add(ShopRepertory shopRepertory);

    ShopRepertory findShopRepertoryBySkuId(Long skuId);

    int update(ShopRepertory shopRepertory);

    List<Long> findSkuIdByShopId(Long shopId);

    Long findShopIdBySkuId(Long skuId);
}
